<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

   <ui:composition>
   
		<div id="#{fieldId}_div">
		
		<ui:insert></ui:insert>
		
		<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/resources/componentes/validator/css/validator.css"/>
		<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/resources/componentes/validator/js/Validator.js"></script>
		
			<c:if test="#{not empty required and not empty requiredMessage}">
				<c:if test="#{required}">
					<span id="required" name="required" class="campo_invisivel" message="#{requiredMessage}"></span>
				</c:if>
			</c:if>
			<c:if test="#{not empty required and empty requiredMessage}">
				<c:if test="#{required}">
					<span id="required" name="required" class="campo_invisivel"></span>
				</c:if>
			</c:if>
		
			<c:if test="#{not empty email and not empty emailMessage}">
				<c:if test="#{email}">
					<span id="email" name="email" class="campo_invisivel" message="#{emailMessage}"></span>
				</c:if>
			</c:if>
			<c:if test="#{not empty email and empty emailMessage}">
				<c:if test="#{email}">
					<span id="email" name="email" class="campo_invisivel"></span>
				</c:if>
			</c:if>
		
		
			<c:if test="#{not empty remote and not empty remoteMessage}">
				<span id="remote" name="remote" class="campo_invisivel" message="#{remoteMessage}">#{remote}</span>
			</c:if>
			<c:if test="#{not empty remote and empty remoteMessage}">
				<span id="remote" name="remote" class="campo_invisivel">#{remote}</span>
			</c:if>
			
			<c:if test="#{not empty minlength and not empty minlengthMessage}">
				<span id="minlength" name="minlength" class="campo_invisivel" message="#{minlengthMessage}">#{minlength}</span>
			</c:if>
			<c:if test="#{not empty minlength and empty minlengthMessage}">
				<span id="minlength" name="minlength" class="campo_invisivel">#{minlength}</span>
			</c:if>
			
			<c:if test="#{not empty maxlength and not empty maxlengthMessage}">
				<span id="maxlength" name="maxlength" class="campo_invisivel" message="#{maxlengthMessage}">#{maxlength}</span>
			</c:if>
			<c:if test="#{not empty maxlength and empty maxlengthMessage}">
				<span id="maxlength" name="maxlength" class="campo_invisivel">#{maxlength}</span>
			</c:if>
			
			<c:if test="#{not empty rangelength and not empty rangelengthMessage}">
				<span id="rangelength" name="rangelength" class="campo_invisivel" message="#{rangelengthMessage}">#{rangelength}</span>
			</c:if>
			<c:if test="#{not empty rangelength and empty rangelengthMessage}">
				<span id="rangelength" name="rangelength" class="campo_invisivel">#{rangelength}</span>
			</c:if>
			
			<c:if test="#{not empty min and not empty minMessage}">
				<span id="min" name="min" class="campo_invisivel" message="#{minMessage}">#{min}</span>
			</c:if>
			<c:if test="#{not empty min and empty minMessage}">
				<span id="min" name="min" class="campo_invisivel">#{min}</span>
			</c:if>
			
			<c:if test="#{not empty max and not empty maxMessage}">
				<span id="max" name="max" class="campo_invisivel" message="#{maxMessage}">#{max}</span>
			</c:if>
			<c:if test="#{not empty max and empty maxMessage}">
				<span id="max" name="max" class="campo_invisivel">#{max}</span>
			</c:if>
			
			<c:if test="#{not empty range and not empty rangeMessage}">
				<span id="range" name="range" class="campo_invisivel" message="#{rangeMessage}">#{range}</span>
			</c:if>
			<c:if test="#{not empty range and empty rangeMessage}">
				<span id="range" name="range" class="campo_invisivel">#{range}</span>
			</c:if>
			
			<c:if test="#{not empty url and not empty urlMessage}">
				<span id="url" name="url" class="campo_invisivel" message="#{urlMessage}"></span>
			</c:if>
			<c:if test="#{not empty url and empty urlMessage}">
				<span id="url" name="url" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty date and not empty dateMessage}">
				<span id="date" name="date" class="campo_invisivel" message="#{dateMessage}"></span>
			</c:if>
			<c:if test="#{not empty date and empty dateMessage}">
				<span id="date" name="date" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty dateISO and not empty dateISOMessage}">
				<span id="dateISO" name="dateISO" class="campo_invisivel" message="#{dateISOMessage}"></span>
			</c:if>
			<c:if test="#{not empty dateISO and empty dateISOMessage}">
				<span id="dateISO" name="dateISO" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty dateITA and not empty dateITAMessage}">
				<span id="dateITA" name="dateITA" class="campo_invisivel" message="#{dateITAMessage}"></span>
			</c:if>
			<c:if test="#{not empty dateITA and empty dateITAMessage}">
				<span id="dateITA" name="dateITA" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty number and not empty numberMessage}">
				<span id="number" name="number" class="campo_invisivel" message="#{numberMessage}"></span>
			</c:if>
			<c:if test="#{not empty number and empty numberMessage}">
				<span id="number" name="number" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty digits and not empty digitsMessage}">
				<span id="digits" name="digits" class="campo_invisivel" message="#{digitsMessage}"></span>
			</c:if>
			<c:if test="#{not empty digits and empty digitsMessage}">
				<span id="digits" name="digits" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty creditcard and not empty creditcardMessage}">
				<span id="creditcard" name="creditcard" class="campo_invisivel" message="#{creditcardMessage}"></span>
			</c:if>
			<c:if test="#{not empty creditcard and empty creditcardMessage}">
				<span id="creditcard" name="creditcard" class="campo_invisivel"></span>
			</c:if>
			
			<c:if test="#{not empty equalTo and not empty equalToMessage}">
				<span id="equalTo" name="equalTo" class="campo_invisivel" message="#{equalToMessage}">#{equalTo}</span>
			</c:if>
			<c:if test="#{not empty equalTo and empty equalToMessage}">
				<span id="equalTo" name="equalTo" class="campo_invisivel">#{equalTo}</span>
			</c:if>
			
			<c:if test="#{not empty cnpjValidator and not empty cnpjValidatorMessage}">
				<span id="cnpjValidator" name="cnpjValidator" class="campo_invisivel" message="#{cnpjValidatorMessage}"></span>
			</c:if>
			<c:if test="#{not empty cnpjValidator and empty cnpjValidatorMessage}">
				<span id="cnpjValidator" name="cnpjValidator" class="campo_invisivel"></span>
			</c:if>
			
			
			<c:if test="#{not empty cpfValidator and not empty cpfValidatorMessage}">
				<span id="cpfValidator" name="cpfValidator" class="campo_invisivel" message="#{cpfValidatorMessage}"></span>
			</c:if>
			<c:if test="#{not empty cpfValidator and empty cpfValidatorMessage}">
				<span id="cpfValidator" name="cpfValidator" class="campo_invisivel"></span>
			</c:if>
			
			
			<c:if test="#{not empty urlShort and not empty urlShortMessage}">
				<span id="urlShort" name="urlShort" class="campo_invisivel" message="#{urlShortMessage}"></span>
			</c:if>
			<c:if test="#{not empty urlShort and empty urlShortMessage}">
				<span id="urlShort" name="urlShort" class="campo_invisivel"></span>
			</c:if>
		
		</div>
   			
   			
   		
   		<script type="text/javascript">

   
		</script>
   
   </ui:composition>
   
</html>